package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分组信息对象 tb_group
 * 
 * @author ruoyi
 * @date 2025-03-31
 */
public class GroupEntity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 组号（主键） */
    private Long groupId;

    /** 组名 */
    @Excel(name = "组名")
    private String groupName;

    /** 组长学号（关联tb_score.student_id） */
    @Excel(name = "组长学号", readConverterExp = "关=联tb_score.student_id")
    private String leaderId;

    private String leaderName;

    public  String getLeaderName(){
        return  leaderName;
    }
public void setLeaderName(String leaderName){
        this.leaderName = leaderName;
}

    public void setGroupId(Long groupId) 
    {
        this.groupId = groupId;
    }


    public Long getGroupId() 
    {
        return groupId;
    }

    public void setGroupName(String groupName) 
    {
        this.groupName = groupName;
    }

    public String getGroupName() 
    {
        return groupName;
    }

    public void setLeaderId(String leaderId) 
    {
        this.leaderId = leaderId;
    }

    public String getLeaderId() 
    {
        return leaderId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("groupId", getGroupId())
            .append("groupName", getGroupName())
            .append("leaderId", getLeaderId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
